Embedded C Interview Questions and Answers
Question: What is a volatile variable in C?Answer: The volatile keyword tells the compiler that a variable's value may change at any time, without any action being taken by the code.Example:
|
Is it helpful?
Yes
No
Most helpful rated by users:
- What is embedded C?
- What is a volatile variable in C?
- Explain the significance of the \'const\' keyword in embedded C.
- What is the purpose of the \'volatile\' keyword in C?
- Explain the concept of polling in embedded systems.